package com.ibuscloud.union.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 核销数据文件表
 * </p>
 *
 * @author 书瞳
 * @since 2022-12-08
 */
@Data
public class HxExcel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "客票核销订单号", index = 0)
    private String ticketOrderNo;

    @ExcelProperty(value = "交通出行平台用户id", index = 1)
    private String userId;

    @ExcelProperty(value = "虚拟卡卡号", index = 2)
    private String cardNo;

    @ExcelProperty(value = "交通运营商编码", index = 3)
    private String opId;

    @ExcelProperty(value = "交通出行平台订单号", index = 4)
    private String opOrderNo;

    @ExcelProperty(value = "行业方订单号", index = 5)
    private String instOrderNo;

    @ExcelProperty(value = "应用名称", index = 6)
    private String appId;

    @ExcelProperty(value = "业务id", index = 7)
    private String serviceId;

    @ExcelProperty(value = "客票系统优惠金额，单位：分", index = 8)
    private String discountPrice;

    @ExcelProperty(value = "优惠类型", index = 9)
    private String discountType;

    @ExcelProperty(value = "消费金额，以分为单位，消费金额=基础金额-行业方优惠金额+扣罚金额", index = 10)
    private String transAmount;

    @ExcelProperty(value = "基础金额，以分为单位。客票优惠金额使用基础金额-行业方优惠金额计算", index = 11)
    private String baseAmount;

    @ExcelProperty(value = "扣罚金额，以分为单位", index = 12)
    private String fineAmount;

    @ExcelProperty(value = "行业方优惠金额，以分为单位", index = 13)
    private String discountAmount;

    @ExcelProperty(value = "客票票号", index = 14)
    private String ticketAccountId;

    @ExcelProperty(value = "客票类型编码", index = 15)
    private String ticketTypeId;

    @ExcelProperty(value = "客票类型名称", index = 16)
    private String ticketTypeName;

    @ExcelProperty(value = "核销时间，格式为yyyy-mm-dd HH:mm:ss", index = 17)
    private String payTime;

    @ExcelProperty(value = "进站站台号", index = 18)
    private String inStationNo;

    @ExcelProperty(value = "出站站台号", index = 19)
    private String outStationNo;

    @ExcelProperty(value = "进站刷码机具流水号", index = 20)
    private String inPosSerialNo;

    @ExcelProperty(value = "出站刷码机具流水号", index = 21)
    private String outPosSerialNo;

    @ExcelProperty(value = "进站线路号", index = 22)
    private String inLineNo;

    @ExcelProperty(value = "出站线路号", index = 23)
    private String outLineNo;

    @ExcelProperty(value = "上车时间，格式为yyyy-mm-dd HH:mm:ss", index = 24)
    private String inTime;

    @ExcelProperty(value = "下车时间，格式为yyyy-mm-dd HH:mm:ss", index = 25)
    private String outTime;

    @ExcelProperty(value = "账单日，格式为YYYYMMDD", index = 26)
    private String billDate;

    @ExcelProperty(value = "预留扩展字段", index = 27)
    private String extInfo;

    @ExcelProperty(value = "结算类型 0 - 事后结算 1 - T+1结算", index = 28)
    private String settleType;

    @ExcelProperty(value = "U点优惠码", index = 29)
    private String discountCode;

    @ExcelProperty(value = "优惠状态： 0 - 待处理  1 - 已处理 2 - 超期未处理", index = 30)
    private String discountStatus;


}
